<div class='definition'><pre>for</pre></div>
<div class='content'>
<p>Render the element or template block multiple times based on the source data. The directive’s value must use the special syntax <code>alias in expression</code> to provide an alias for the current element being iterated on. Alternatively, you can also specify an alias for the index (or the key if used on an Object). The default behavior of <code>v-for</code> will try to patch the elements in-place without moving them. To force it to reorder elements, you need to provide an ordering hint with the <code>key</code> special attribute.</p>
</div><table class='sections'>
<tr><td valign='top' class='section'><p>Library:</td><td valign='top'><p>vue</td>
</table>